package cn.iocoder.yudao.module.handguard.controller.admin.productaccess.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 产品准入 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class ProductAccessBaseVO {

    @Schema(description = "产品图片", example = "")
    private String productImg;

    @Schema(description = "产品准入名称", example = "王五")
    private String productName;

    @Schema(description = "公示表id", example = "1605")
    private Long publicityTypeId;

    @Schema(description = "申请流程", example = "线上、线下、线上+线下")
    private String procedures;

    @Schema(description = "还款方式", example = "先息后本、等额本息、等额本金")
    private String modeOfRepayment;

    @Schema(description = "年华利率", example = "0.1")
    private BigDecimal timeRate;

    @Schema(description = "期限", example = "1")
    private Integer deadline;

    @Schema(description = "成数X(Z)", example = "1")
    private BigDecimal portions;

    @Schema(description = "成数Y", example = "1")
    private BigDecimal portionsTwo;

    @Schema(description = "倍数", example = "1")
    private BigDecimal multiple;

    @Schema(description = "最高额度", example = "1")
    private BigDecimal maxAmount;

    @Schema(description = "银行/机构", example = "中国银行")
    private String bank;

}
